﻿@model List<ASPMVC_first_app.Models.MoviesModel>
@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}


<table class="table">
    <tr>
        <td><b>Id</b></td>
        <td><b>Name</b></td>
    </tr>
    @foreach (var item in Model)
    {
        <tr>
            <td>@item.Id</td>
            <td>@item.Name</td>

        </tr>
    }
</table>
